const Mock = require("mockjs");

export default {
	"GET /api/file/menu": (req, res) => {
		const resc = {
			code: 200,
			data: [
				{
					id: "",
					label: "未分组",
				},
				{
					id: "100",
					label: "素材",
				},
				{
					id: "200",
					label: "证件",
				},
			],
			message: "",
		};
		return res.json(Mock.mock(resc));
	},
	"GET /api/file/list": (req, res) => {
		const resc = {
			code: 200,
			data: {
				total: 85060,
				page: 1,
				pageSize: 20,
				rows: [
					{
						id: "3F9c78e4-8272-eC6F-bdcB-9E89768C7D7B",
						url: "http://dummyimage.com/200x200/ddd/333&text=Cynthia Jackson&_=.png",
						fileName: "411A1b7b-9445-6bbA-FbED-EDcbb477BD41.png",
					},
					{
						id: "B9e8bEfe-1c98-31F6-a706-cA7F2DD319C2",
						url: "http://dummyimage.com/200x200/ddd/333&text=Steven Brown&_=.png",
						fileName: "f0e804BB-fFee-B9fB-7967-bf8cd5661407.png",
					},
					{
						id: "27b9dA6d-483C-bB8a-Eab5-463BB18E1f8d",
						url: "http://dummyimage.com/200x200/ddd/333&text=Michael Martin&_=.png",
						fileName: "1ce1cAE2-647A-BcEA-dBae-862495b3EBfD.png",
					},
					{
						id: "3356479C-FCA1-eBdF-A8EE-3f5b2c85A013",
						url: "http://dummyimage.com/200x200/ddd/333&text=Gary Davis&_=.png",
						fileName: "A515D36b-86D3-65F4-5BFc-F4c457AAb22B.png",
					},
					{
						id: "c45F8f2e-df7e-33B9-BB93-E1245dFdDb3B",
						url: "http://dummyimage.com/200x200/ddd/333&text=Ronald Davis&_=.png",
						fileName: "753f1e96-3eFa-453A-6dF6-AA0bE4bb30b6.png",
					},
					{
						id: "b9DeE13f-d45A-D2Bb-C3C9-42CEb367F953",
						url: "http://dummyimage.com/200x200/ddd/333&text=Richard Wilson&_=.png",
						fileName: "9D6188dA-C1d3-6A45-9a7B-b1bEDd4949e0.png",
					},
					{
						id: "5f1BE0BC-C0b3-e5Af-a64D-473bD0E5ef5c",
						url: "http://dummyimage.com/200x200/ddd/333&text=Patricia Miller&_=.png",
						fileName: "CEeeec55-faf4-7F83-8dDA-18042C7A1bE0.png",
					},
					{
						id: "c4AceC9e-FF5D-4681-e6b1-c12B824F4EcB",
						url: "http://dummyimage.com/200x200/ddd/333&text=Daniel White&_=.png",
						fileName: "ED255FFB-fbc1-E52a-df8c-43551da20fdC.png",
					},
					{
						id: "09A2f2b3-DB6D-572c-27Be-5AaE18610ED6",
						url: "http://dummyimage.com/200x200/ddd/333&text=Kimberly Taylor&_=.png",
						fileName: "49741FFe-DBfA-CcD8-3f92-AF5F26cC1119.png",
					},
					{
						id: "3fB3C87E-aE1B-C75E-E4e4-c573e832c7ce",
						url: "http://dummyimage.com/200x200/ddd/333&text=Charles Lewis&_=.png",
						fileName: "d28CBfD9-B5B8-3aF9-BFBc-9FFCb2776F9F.png",
					},
					{
						id: "55b0FD0e-d624-FCbe-CdaA-B177B8F502cF",
						url: "http://dummyimage.com/200x200/ddd/333&text=Anthony Lopez&_=.png",
						fileName: "Ed86ebF2-Fd8D-Ef5C-1AEc-fc14A2177B25.png",
					},
					{
						id: "C7133782-3527-CF37-EEdC-7eB125DcD13B",
						url: "http://dummyimage.com/200x200/ddd/333&text=Eric Clark&_=.png",
						fileName: "3BEDeF1A-3Cf3-D6B5-c9e3-5adDBEA9CCbC.png",
					},
					{
						id: "86feAF11-42c4-0f53-76B5-f9bCAfA9Fdc3",
						url: "http://dummyimage.com/200x200/ddd/333&text=Lisa Lewis&_=.png",
						fileName: "96A9eE67-C6f7-Dcdd-97dE-CFc48bce657E.png",
					},
					{
						id: "3EbdF81E-0F8b-8f8c-8cEc-4a8BA278228C",
						url: "http://dummyimage.com/200x200/ddd/333&text=Carol Hernandez&_=.png",
						fileName: "Cef2FED8-41D8-2e54-ACeB-E3BaBEd39B70.png",
					},
					{
						id: "a4BbC1e1-4688-77BC-A8DD-fFFe1d9518bD",
						url: "http://dummyimage.com/200x200/ddd/333&text=Nancy Walker&_=.png",
						fileName: "Cd87435E-C8A2-179c-FBca-65be7f897eD1.png",
					},
					{
						id: "Fc51Da65-c7cb-b6EC-6517-a5f8fCF1F8db",
						url: "http://dummyimage.com/200x200/ddd/333&text=Matthew Lewis&_=.png",
						fileName: "Fd64DfEd-89f3-BC5d-c745-120eDceC501F.png",
					},
					{
						id: "bd76c8b8-5eA5-f788-5D73-Df0cB2dC745e",
						url: "http://dummyimage.com/200x200/ddd/333&text=Richard White&_=.png",
						fileName: "b9ccBB34-8Cdb-7600-8Edb-FB19e328eF42.png",
					},
					{
						id: "4C296ecF-65C2-d74f-D8Ac-c7F2FDAFC6eB",
						url: "http://dummyimage.com/200x200/ddd/333&text=Brian Davis&_=.png",
						fileName: "6694f4dA-c3A3-EB23-3348-2D88fe3C54A2.png",
					},
					{
						id: "eF3ffBcD-d8d4-dEA0-d2e0-b54fD627F105",
						url: "http://dummyimage.com/200x200/ddd/333&text=Michelle Martinez&_=.png",
						fileName: "48476Cb8-A7Cb-9853-DE87-35B7968EB5ba.png",
					},
					{
						id: "Dd3E2EB8-Fe1E-2A7b-f3Fc-A2EAEe437fAE",
						url: "http://dummyimage.com/200x200/ddd/333&text=Angela Robinson&_=.png",
						fileName: "8F409cD2-7229-38eF-c8eB-f4C32caE71B0.png",
					},
					{
						id: "59cfFcC3-F096-FF74-4989-f5745f18027E",
						url: "http://dummyimage.com/200x200/ddd/333&text=Timothy Martinez&_=.png",
						fileName: "4ACCfEBE-eD21-Dd23-bbBC-baFCC481e327.png",
					},
					{
						id: "f54Ade3f-Dc63-48AA-4d33-1deA5f3Cd47f",
						url: "http://dummyimage.com/200x200/ddd/333&text=Larry Harris&_=.png",
						fileName: "108eA463-1c28-16ab-2C52-63DcFB9D767E.png",
					},
					{
						id: "fFbb6aEE-0B6D-e6F3-A7c0-4F8FC1f7ACD2",
						url: "http://dummyimage.com/200x200/ddd/333&text=Melissa Wilson&_=.png",
						fileName: "2F9fD7Df-cbDd-d165-F69B-845319CeDbfB.png",
					},
					{
						id: "5f2bCc7B-9e93-5C3f-bEec-c3D162ebDEcB",
						url: "http://dummyimage.com/200x200/ddd/333&text=Betty Hall&_=.png",
						fileName: "717A397c-c9F8-1eE4-a306-F3d11D4e3878.png",
					},
					{
						id: "9Bf8ffdc-5Cbb-Ef66-62Dd-DaAFba664D7E",
						url: "http://dummyimage.com/200x200/ddd/333&text=Anthony Wilson&_=.png",
						fileName: "92d4f06E-D8f7-9EC6-BBa3-F8bd13bcb9E6.png",
					},
					{
						id: "F91BBfAA-dDB6-B7d3-5517-6B7cf8f3Ff5d",
						url: "http://dummyimage.com/200x200/ddd/333&text=Helen Garcia&_=.png",
						fileName: "C23BbdaE-CACc-661c-97cF-8b979f6fDfBF.png",
					},
					{
						id: "aa52EE08-14AB-6EEc-45A8-1d49efDE3a2b",
						url: "http://dummyimage.com/200x200/ddd/333&text=Kevin Gonzalez&_=.png",
						fileName: "87Bdd4B4-5d26-EE7D-227f-4f4fA9ade92C.png",
					},
					{
						id: "Ce3B70AD-3a1A-4C8D-E2A3-f82fD7F9ed8E",
						url: "http://dummyimage.com/200x200/ddd/333&text=Joseph Moore&_=.png",
						fileName: "e8bbEE45-Fde7-7A6a-c0D9-AFbB6EedDD29.png",
					},
					{
						id: "1616CCc7-C6F8-F561-bCcA-579CB81FB3c5",
						url: "http://dummyimage.com/200x200/ddd/333&text=Kimberly Brown&_=.png",
						fileName: "b5CEeDD8-b1Ee-dDfd-15dc-dE5df482Ab0d.png",
					},
					{
						id: "Bfd5A0DE-fDc2-CDec-C3A7-c46FD1B0e4Fb",
						url: "http://dummyimage.com/200x200/ddd/333&text=Angela Johnson&_=.png",
						fileName: "d25D22A2-bD1f-dc7A-0875-dFfd1e47b01e.png",
					},
					{
						id: "9D7fdC8B-FDcF-2Fd9-eDa8-3e28BA3322B5",
						url: "http://dummyimage.com/200x200/ddd/333&text=Charles Harris&_=.png",
						fileName: "7DB74DAF-E773-fDB1-49f4-914a2A4b3c9f.png",
					},
					{
						id: "9Da99c1E-cd3B-1F39-dbba-DFbe9BB86fB7",
						url: "http://dummyimage.com/200x200/ddd/333&text=Melissa Anderson&_=.png",
						fileName: "67C3AbBc-be8F-EB04-1EC3-77A3f443b30c.png",
					},
					{
						id: "BDcb9F03-03eE-d95F-CE5C-DE3B70b3a5af",
						url: "http://dummyimage.com/200x200/ddd/333&text=Linda Hall&_=.png",
						fileName: "84d7eAFD-fbEc-b954-6F8d-AEbF5FE64FFD.png",
					},
					{
						id: "C21f85fd-e9ED-98E6-0481-8C269D23Be52",
						url: "http://dummyimage.com/200x200/ddd/333&text=Michelle Williams&_=.png",
						fileName: "95F7EdB7-D92F-d4f4-C873-0FaEc7e87cC7.png",
					},
					{
						id: "60AB757F-C58d-6579-8Adf-5fBB336246Ee",
						url: "http://dummyimage.com/200x200/ddd/333&text=Kimberly Garcia&_=.png",
						fileName: "2bEfcFB7-9AAB-C7Ae-dcE3-737d77C57BD2.png",
					},
					{
						id: "D5062F63-Fe65-5dB1-9bF1-1CDE7bCAea3e",
						url: "http://dummyimage.com/200x200/ddd/333&text=Mary Hernandez&_=.png",
						fileName: "FCcD32E8-47bF-88ae-E19c-E79EBFfF63ae.png",
					},
					{
						id: "FfA5647c-1FE0-464B-d6Fb-67ec961EBb2C",
						url: "http://dummyimage.com/200x200/ddd/333&text=Karen Hall&_=.png",
						fileName: "4BCbE767-F6e1-5822-8C1F-39B0A9A4Fdb5.png",
					},
					{
						id: "fbE86Fa9-f4d7-FfD7-3fEf-1a9ef3e15759",
						url: "http://dummyimage.com/200x200/ddd/333&text=Daniel Allen&_=.png",
						fileName: "9D53E523-9e07-eeDB-AD7D-5b7c2bed3A8d.png",
					},
					{
						id: "eeA63Bbc-e114-dCF3-AE06-7d3FD5B74514",
						url: "http://dummyimage.com/200x200/ddd/333&text=Jason White&_=.png",
						fileName: "FcD2a536-DceD-c6Eb-B6d4-B5d846fFc45A.png",
					},
					{
						id: "F3B9eF4d-BF82-AEE9-FEFc-Bd35275dA6d3",
						url: "http://dummyimage.com/200x200/ddd/333&text=Larry Garcia&_=.png",
						fileName: "F7a3961E-464c-A9CE-fD36-c836be76B5f6.png",
					},
				],
			},
			message: "",
		};
		return res.json(Mock.mock(resc));
	},
};
